home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
mus
/
misc
/
QMaster.lha
/
QMaster
/
QMInstall
< prev
next >
Wrap
Text File
|
1999-02-05
|
3KB
|
171 lines
; ****************************************************************************
; * *
; * QMaster install script v 1.0 by Kenneth C. Nilsen *
; * *
; ****************************************************************************
(set
#wtext (cat "\nWELCOME TO QMASTER INSTALLATION!\n\n\n"
"QMaster is created by Kenneth Chr. Nilsen\n"
"Copyright © 1998,1999 by K. Nilsen/Digital Surface\n\n\n"
"This software is FREEWARE\n\n\n"
"This installer script will set the proper environmental variables for QMASTER")
#endtext (cat "\nINSTALLATION DONE!\n\n"
"Hope you will find QMaster useful !\n\n"
"If you have any problems you can write an email\n"
"to author - kenny@bgnett.no or you can join\n"
"the Studio 16 mailinglist:\n\n"
"Send email to majordomo@thule.no and type in body:\n"
"subscribe studio16 <your email>")
#mycpu (database "cpu")
)
;-----------------------------------------------------------------------------
(if (= #mycpu "68000") (exit "\n\nSorry, but QMaster require atleast a 68020 or better..." (quiet)))
(if (= #mycpu "68010") (exit "\n\nSorry, but QMaster require atleast a 68020 or better..." (quiet)))
(message #wtext)
(welcome)
;-----------------------------------------------------------------------------
(complete 0)
(set #dir
(askdir
(prompt "Please select where you want to install QMASTER.\nThere will NOT be created any directory for it!")
(help @askdir-help)
(default "Studio16_3:")
)
)
;copy main executable
(complete 10)
(copyfiles
(prompt "Copying QMASTER executable...")
(source "QMaster")
(dest #dir)
(infos)
)
;set global path !!
(run "c:setenv >nil: QMASTER "#dir)
(run "c:copy >nil: env:QMASTER Envarc:")
;ask where to copy LoadQM...
(complete 15)
(set #cdir
(askdir
(prompt "Where do you want to install the LoadQM executable ?")
(help "LoadQM is used to start QMaster from Arexx scripts.")
(default "C:")
)
)
(copyfiles
(prompt "Copying LoadQM...")
(source "C/LoadQM")
(dest #cdir )
)
(if (askbool
(prompt "\n\n\nDo you want to install\narexx scripts, demo cuelists and shortcomands ?")
(help "These files demostrates how you can use QMaster")
(default 1)
)
;then
(
;ask where to copy arexx scripts
(complete 20)
(set #adir
(askdir
(prompt "Where do you want to install the arexx scripts ?")
(help @askdir-help)
(default "Sys:REXX/")
)
)
(copyfiles
(prompt "Copying arexx scripts...")
(source "Rexx/")
(all)
(dest #adir )
(infos)
)
;ask where to copy docs...
(complete 50)
(set #ddir
(askdir
(prompt "Where do you want to install the guide file ?")
(help @askdir-help)
(default "HELP:")
)
)
(copyfiles
(prompt "Copying docs...")
(all)
(source "Docs/")
(dest #ddir)
(infos)
)
;ask where to copy demo cuelists...
(complete 70)
(set #udir
(askdir
(prompt "Where do you want to install the demo Cuelist files ?")
(help @askdir-help)
(default "Studio16_3:Cuelists/")
)
)
(copyfiles
(prompt "Copying demo cues...")
(all)
(source "Cuelists/")
(dest #udir )
)
;ask where to copy scripts...
(complete 80)
(set #sdir
(askdir
(prompt "Where do you want to install the script comands ?")
(help @askdir-help)
(default "s:")
)
)
(copyfiles
(prompt "Copying QM comands...")
(all)
(source "s/")
(dest #sdir)
)
)
)
(complete 100)
(exit #endtext (quiet))